package com.cws.project.cws.graduation.project.domain;

import com.cws.framework.aspectj.lang.annotation.Excel;
import com.cws.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 毕设内容对象 cws_graduation_project
 *
 * @author xyl
 * @date 2022-01-19
 */
public class GraduationProject extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    private Long graduationProductId;

    /**
     * 上传地址
     */
    private String url;

    /**
     * 题目
     */
    @Excel(name = "题目")
    private String topic;

    /**
     * 评级
     */
    @Excel(name = "评级")
    private String rate;

    /**
     * 得分
     */
    @Excel(name = "得分")
    private Long score;

    /**
     * 学生id
     */
    private Long studentId;

    private String studentName;

    private String studentLoginName;

    private Long teacherId;

    private String teacherName;

    private List<Long> clazzIds;


    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public String getStudentLoginName() {
        return studentLoginName;
    }

    public void setStudentLoginName(String studentLoginName) {
        this.studentLoginName = studentLoginName;
    }

    public List<Long> getClazzIds() {
        return clazzIds;
    }

    public void setClazzIds(List<Long> clazzIds) {
        this.clazzIds = clazzIds;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public Long getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Long teacherId) {
        this.teacherId = teacherId;
    }

    public void setGraduationProductId(Long graduationProductId) {
        this.graduationProductId = graduationProductId;
    }

    public Long getGraduationProductId() {
        return graduationProductId;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getUrl() {
        return url;
    }

    public void setTopic(String topic) {
        this.topic = topic;
    }

    public String getTopic() {
        return topic;
    }

    public void setRate(String rate) {
        this.rate = rate;
    }

    public String getRate() {
        return rate;
    }

    public void setScore(Long score) {
        this.score = score;
    }

    public Long getScore() {
        return score;
    }

    public void setStudentId(Long studentId) {
        this.studentId = studentId;
    }

    public Long getStudentId() {
        return studentId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("graduationProductId", getGraduationProductId())
                .append("url", getUrl())
                .append("topic", getTopic())
                .append("rate", getRate())
                .append("score", getScore())
                .append("studentId", getStudentId())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .append("remark", getRemark())
                .toString();
    }
}
